// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  hipciec_ap_int_reg_c_union_define.h
// Project line  :  Platform And Key Technologies Development
// Department    :  CAD Development Department
// Author        :  xxx
// Version       :  1.0
// Date          :  2017/10/24
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2 
// History       :  xxx 2018/03/16 18:02:59 Create file
// ******************************************************************************

#ifndef __HIPCIEC_AP_INT_REG_C_UNION_DEFINE_H__
#define __HIPCIEC_AP_INT_REG_C_UNION_DEFINE_H__

/* Define the union U_MSIX_VECTOR_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0  : 21  ; /* [31:11] */
        unsigned int    vector : 11  ; /* [10:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_VECTOR_NUM;

/* Define the union U_MSIX_COAL_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1       : 6  ; /* [31:26] */
        unsigned int    coal_en     : 1  ; /* [25] */
        unsigned int    round       : 1  ; /* [24] */
        unsigned int    timeout_cnt : 8  ; /* [23:16] */
        unsigned int    aggre_time  : 8  ; /* [15:8] */
        unsigned int    aggre_thr   : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_COAL_CTRL;

/* Define the union U_MSIX_COAL_EVENT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2             : 24  ; /* [31:8] */
        unsigned int    pending_event_cnt : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_COAL_EVENT;

/* Define the union U_MSIX_COAL_TIME_UNIT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3          : 15  ; /* [31:17] */
        unsigned int    coal_time_unit : 17  ; /* [16:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_COAL_TIME_UNIT;

/* Define the union U_MSIX_MSG_ADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    msg_addr          : 30  ; /* [31:2] */
        unsigned int    msg_addr_low_2bit : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_MSG_ADDR;

/* Define the union U_MSIX_MSG_UP_ADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    msg_up_addr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_MSG_UP_ADDR;

/* Define the union U_MSIX_MSG_DATA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    msg_data : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_MSG_DATA;

/* Define the union U_MSIX_VECTOR_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4 : 31  ; /* [31:1] */
        unsigned int    mask  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_VECTOR_CTRL;

/* Define the union U_MSIX_PENDING_BIT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_5   : 31  ; /* [31:1] */
        unsigned int    pending : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_PENDING_BIT;

/* Define the union U_MSIX_SRAM_INIT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_6                : 28  ; /* [31:4] */
        unsigned int    init_msix_coal_tbl   : 1  ; /* [3] */
        unsigned int    init_msix_tbl        : 1  ; /* [2] */
        unsigned int    coal_table_init_done : 1  ; /* [1] */
        unsigned int    msix_tbl_init_done   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_MSIX_SRAM_INIT_STATUS;

/* Define the union U_HOST_ACCESS_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_7             : 29  ; /* [31:3] */
        unsigned int    np_tlp_input_idle : 1  ; /* [2] */
        unsigned int    p_tlp_input_idle  : 1  ; /* [1] */
        unsigned int    tx_cpl_idle       : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HOST_ACCESS_STATUS;

/* Define the union U_TLP_CNT_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8          : 18  ; /* [31:14] */
        unsigned int    clr_output_cnt : 1  ; /* [13] */
        unsigned int    clr_input_cnt  : 1  ; /* [12] */
        unsigned int    tlp_cnt_vf_num : 8  ; /* [11:4] */
        unsigned int    tlp_cnt_pf_num : 3  ; /* [3:1] */
        unsigned int    tlp_cnt_mode   : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_TLP_CNT_CFG;

/* Define the union U_HOST_TLP_CNT_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rx_np_cfg_pkt_cnt  : 8  ; /* [31:24] */
        unsigned int    rx_np_mem_pkt_cnt  : 8  ; /* [23:16] */
        unsigned int    tx_cfg_cpl_pkt_cnt : 8  ; /* [15:8] */
        unsigned int    tx_mem_cpl_pkt_cnt : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HOST_TLP_CNT_0;

/* Define the union U_HOST_TLP_CNT_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_9        : 24  ; /* [31:8] */
        unsigned int    rx_p_pkt_cnt : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_HOST_TLP_CNT_1;

/* Define the union U_DMA_INPUT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10             : 4  ; /* [31:28] */
        unsigned int    dma_p_cpl_cnt      : 8  ; /* [27:20] */
        unsigned int    dma_int_input_cnt  : 8  ; /* [19:12] */
        unsigned int    dma_data_input_cnt : 8  ; /* [11:4] */
        unsigned int    dma_input_pkt_type : 3  ; /* [3:1] */
        unsigned int    dma_input_idle     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMA_INPUT_STATUS;

/* Define the union U_DMA_OUTPUT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_11              : 12  ; /* [31:20] */
        unsigned int    dma_int_output_cnt  : 8  ; /* [19:12] */
        unsigned int    dma_data_output_cnt : 8  ; /* [11:4] */
        unsigned int    dma_output_pkt_type : 3  ; /* [3:1] */
        unsigned int    dma_output_idle     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMA_OUTPUT_STATUS;

/* Define the union U_NVME_INPUT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_12              : 4  ; /* [31:28] */
        unsigned int    nvme_p_cpl_cnt      : 8  ; /* [27:20] */
        unsigned int    nvme_int_input_cnt  : 8  ; /* [19:12] */
        unsigned int    nvme_data_input_cnt : 8  ; /* [11:4] */
        unsigned int    nvme_input_pkt_type : 3  ; /* [3:1] */
        unsigned int    nvme_input_idle     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NVME_INPUT_STATUS;

/* Define the union U_NVME_OUTPUT_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13               : 12  ; /* [31:20] */
        unsigned int    nvme_int_output_cnt  : 8  ; /* [19:12] */
        unsigned int    nvme_data_output_cnt : 8  ; /* [11:4] */
        unsigned int    nvme_output_pkt_type : 3  ; /* [3:1] */
        unsigned int    nvme_output_idle     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NVME_OUTPUT_STATUS;

/* Define the union U_FSM_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_14              : 27  ; /* [31:5] */
        unsigned int    curr_coal_tbl_state : 3  ; /* [4:2] */
        unsigned int    curr_host_state     : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_FSM_STATUS;

/* Define the union U_LINK_DOWN_IDLE_STATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_15    : 31  ; /* [31:1] */
        unsigned int    port_idle : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_LINK_DOWN_IDLE_STATUS;

/* Define the union U_ECC_ERR_INT_SRC_STS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_16                : 28  ; /* [31:4] */
        unsigned int    coal_tbl_ecc_err_2bit : 1  ; /* [3] */
        unsigned int    coal_tbl_ecc_err_1bit : 1  ; /* [2] */
        unsigned int    msix_tbl_ecc_err_2bit : 1  ; /* [1] */
        unsigned int    msix_tbl_ecc_err_1bit : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ECC_ERR_INT_SRC_STS;

/* Define the union U_ECC_ERR_MASK */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_17                     : 28  ; /* [31:4] */
        unsigned int    coal_tbl_ecc_err_2bit_mask : 1  ; /* [3] */
        unsigned int    coal_tbl_ecc_err_1bit_mask : 1  ; /* [2] */
        unsigned int    msix_tbl_ecc_err_2bit_mask : 1  ; /* [1] */
        unsigned int    msix_tbl_ecc_err_1bit_mask : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ECC_ERR_MASK;

/* Define the union U_ECC_ERR_INT_STS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_18                    : 28  ; /* [31:4] */
        unsigned int    coal_tbl_ecc_err_2bit_sts : 1  ; /* [3] */
        unsigned int    coal_tbl_ecc_err_1bit_sts : 1  ; /* [2] */
        unsigned int    msix_tbl_ecc_err_2bit_sts : 1  ; /* [1] */
        unsigned int    msix_tbl_ecc_err_1bit_sts : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ECC_ERR_INT_STS;

/* Define the union U_ECC_ERR_INJECT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_19                  : 28  ; /* [31:4] */
        unsigned int    coal_tbl_ecc_err_inject : 2  ; /* [3:2] */
        unsigned int    msix_tbl_ecc_err_inject : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ECC_ERR_INJECT;

/* Define the union U_NET_ECAM_BUS_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_20           : 23  ; /* [31:9] */
        unsigned int    net_th_enable    : 1  ; /* [8] */
        unsigned int    net_ecam_bus_num : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NET_ECAM_BUS_NUM;

/* Define the union U_NET_PF_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_21         : 26  ; /* [31:6] */
        unsigned int    net_2nd_pf_num : 3  ; /* [5:3] */
        unsigned int    net_1st_pf_num : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NET_PF_NUM;

/* Define the union U_NET_FIRST_VF_NUM */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    net_pf1_vf_first_num : 16  ; /* [31:16] */
        unsigned int    net_pf0_vf_first_num : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NET_FIRST_VF_NUM;

/* Define the union U_NET_VF_STRIDE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    net_pf1_vf_stride : 16  ; /* [31:16] */
        unsigned int    net_pf0_vf_stride : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NET_VF_STRIDE;

/* Define the union U_NET_ECAM_BASE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_22        : 12  ; /* [31:20] */
        unsigned int    net_ecam_base : 20  ; /* [19:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_NET_ECAM_BASE;

/* Define the union U_ERR_RESPONSE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_23       : 28  ; /* [31:4] */
        unsigned int    port_idle    : 1  ; /* [3] */
        unsigned int    clr_err_resp : 1  ; /* [2] */
        unsigned int    err_resp     : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ERR_RESPONSE;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_MSIX_VECTOR_NUM       MSIX_VECTOR_NUM       ; /* 0 */
    volatile U_MSIX_COAL_CTRL        MSIX_COAL_CTRL        ; /* 4 */
    volatile U_MSIX_COAL_EVENT       MSIX_COAL_EVENT       ; /* 8 */
    volatile U_MSIX_COAL_TIME_UNIT   MSIX_COAL_TIME_UNIT   ; /* C */
    volatile U_MSIX_MSG_ADDR         MSIX_MSG_ADDR         ; /* 10 */
    volatile U_MSIX_MSG_UP_ADDR      MSIX_MSG_UP_ADDR      ; /* 14 */
    volatile U_MSIX_MSG_DATA         MSIX_MSG_DATA         ; /* 18 */
    volatile U_MSIX_VECTOR_CTRL      MSIX_VECTOR_CTRL      ; /* 1C */
    volatile U_MSIX_PENDING_BIT      MSIX_PENDING_BIT      ; /* 20 */
    volatile U_MSIX_SRAM_INIT_STATUS MSIX_SRAM_INIT_STATUS ; /* 24 */
    volatile U_HOST_ACCESS_STATUS    HOST_ACCESS_STATUS    ; /* 50 */
    volatile U_TLP_CNT_CFG           TLP_CNT_CFG           ; /* 54 */
    volatile U_HOST_TLP_CNT_0        HOST_TLP_CNT_0        ; /* 58 */
    volatile U_HOST_TLP_CNT_1        HOST_TLP_CNT_1        ; /* 5C */
    volatile U_DMA_INPUT_STATUS      DMA_INPUT_STATUS      ; /* 60 */
    volatile U_DMA_OUTPUT_STATUS     DMA_OUTPUT_STATUS     ; /* 64 */
    volatile U_NVME_INPUT_STATUS     NVME_INPUT_STATUS     ; /* 68 */
    volatile U_NVME_OUTPUT_STATUS    NVME_OUTPUT_STATUS    ; /* 6C */
    volatile U_FSM_STATUS            FSM_STATUS            ; /* 70 */
    volatile U_LINK_DOWN_IDLE_STATUS LINK_DOWN_IDLE_STATUS ; /* 74 */
    volatile U_ECC_ERR_INT_SRC_STS   ECC_ERR_INT_SRC_STS   ; /* 78 */
    volatile U_ECC_ERR_MASK          ECC_ERR_MASK          ; /* 7C */
    volatile U_ECC_ERR_INT_STS       ECC_ERR_INT_STS       ; /* 80 */
    volatile U_ECC_ERR_INJECT        ECC_ERR_INJECT        ; /* 84 */
    volatile U_NET_ECAM_BUS_NUM      NET_ECAM_BUS_NUM      ; /* 100 */
    volatile U_NET_PF_NUM            NET_PF_NUM            ; /* 104 */
    volatile U_NET_FIRST_VF_NUM      NET_FIRST_VF_NUM      ; /* 108 */
    volatile U_NET_VF_STRIDE         NET_VF_STRIDE         ; /* 10C */
    volatile U_NET_ECAM_BASE         NET_ECAM_BASE         ; /* 110 */
    volatile U_ERR_RESPONSE          ERR_RESPONSE          ; /* 114 */

} S_hipciec_ap_int_reg_REGS_TYPE;

/* Declare the struct pointor of the module hipciec_ap_int_reg */
extern volatile S_hipciec_ap_int_reg_REGS_TYPE *gophipciec_ap_int_regAllReg;

/* Declare the functions that set the member value */
int iSetMSIX_VECTOR_NUM_vector(unsigned int uvector);
int iSetMSIX_COAL_CTRL_coal_en(unsigned int ucoal_en);
int iSetMSIX_COAL_CTRL_round(unsigned int uround);
int iSetMSIX_COAL_CTRL_timeout_cnt(unsigned int utimeout_cnt);
int iSetMSIX_COAL_CTRL_aggre_time(unsigned int uaggre_time);
int iSetMSIX_COAL_CTRL_aggre_thr(unsigned int uaggre_thr);
int iSetMSIX_COAL_EVENT_pending_event_cnt(unsigned int upending_event_cnt);
int iSetMSIX_COAL_TIME_UNIT_coal_time_unit(unsigned int ucoal_time_unit);
int iSetMSIX_MSG_ADDR_msg_addr(unsigned int umsg_addr);
int iSetMSIX_MSG_ADDR_msg_addr_low_2bit(unsigned int umsg_addr_low_2bit);
int iSetMSIX_MSG_UP_ADDR_msg_up_addr(unsigned int umsg_up_addr);
int iSetMSIX_MSG_DATA_msg_data(unsigned int umsg_data);
int iSetMSIX_VECTOR_CTRL_mask(unsigned int umask);
int iSetMSIX_PENDING_BIT_pending(unsigned int upending);
int iSetMSIX_SRAM_INIT_STATUS_init_msix_coal_tbl(unsigned int uinit_msix_coal_tbl);
int iSetMSIX_SRAM_INIT_STATUS_init_msix_tbl(unsigned int uinit_msix_tbl);
int iSetMSIX_SRAM_INIT_STATUS_coal_table_init_done(unsigned int ucoal_table_init_done);
int iSetMSIX_SRAM_INIT_STATUS_msix_tbl_init_done(unsigned int umsix_tbl_init_done);
int iSetHOST_ACCESS_STATUS_np_tlp_input_idle(unsigned int unp_tlp_input_idle);
int iSetHOST_ACCESS_STATUS_p_tlp_input_idle(unsigned int up_tlp_input_idle);
int iSetHOST_ACCESS_STATUS_tx_cpl_idle(unsigned int utx_cpl_idle);
int iSetTLP_CNT_CFG_clr_output_cnt(unsigned int uclr_output_cnt);
int iSetTLP_CNT_CFG_clr_input_cnt(unsigned int uclr_input_cnt);
int iSetTLP_CNT_CFG_tlp_cnt_vf_num(unsigned int utlp_cnt_vf_num);
int iSetTLP_CNT_CFG_tlp_cnt_pf_num(unsigned int utlp_cnt_pf_num);
int iSetTLP_CNT_CFG_tlp_cnt_mode(unsigned int utlp_cnt_mode);
int iSetHOST_TLP_CNT_0_rx_np_cfg_pkt_cnt(unsigned int urx_np_cfg_pkt_cnt);
int iSetHOST_TLP_CNT_0_rx_np_mem_pkt_cnt(unsigned int urx_np_mem_pkt_cnt);
int iSetHOST_TLP_CNT_0_tx_cfg_cpl_pkt_cnt(unsigned int utx_cfg_cpl_pkt_cnt);
int iSetHOST_TLP_CNT_0_tx_mem_cpl_pkt_cnt(unsigned int utx_mem_cpl_pkt_cnt);
int iSetHOST_TLP_CNT_1_rx_p_pkt_cnt(unsigned int urx_p_pkt_cnt);
int iSetDMA_INPUT_STATUS_dma_p_cpl_cnt(unsigned int udma_p_cpl_cnt);
int iSetDMA_INPUT_STATUS_dma_int_input_cnt(unsigned int udma_int_input_cnt);
int iSetDMA_INPUT_STATUS_dma_data_input_cnt(unsigned int udma_data_input_cnt);
int iSetDMA_INPUT_STATUS_dma_input_pkt_type(unsigned int udma_input_pkt_type);
int iSetDMA_INPUT_STATUS_dma_input_idle(unsigned int udma_input_idle);
int iSetDMA_OUTPUT_STATUS_dma_int_output_cnt(unsigned int udma_int_output_cnt);
int iSetDMA_OUTPUT_STATUS_dma_data_output_cnt(unsigned int udma_data_output_cnt);
int iSetDMA_OUTPUT_STATUS_dma_output_pkt_type(unsigned int udma_output_pkt_type);
int iSetDMA_OUTPUT_STATUS_dma_output_idle(unsigned int udma_output_idle);
int iSetNVME_INPUT_STATUS_nvme_p_cpl_cnt(unsigned int unvme_p_cpl_cnt);
int iSetNVME_INPUT_STATUS_nvme_int_input_cnt(unsigned int unvme_int_input_cnt);
int iSetNVME_INPUT_STATUS_nvme_data_input_cnt(unsigned int unvme_data_input_cnt);
int iSetNVME_INPUT_STATUS_nvme_input_pkt_type(unsigned int unvme_input_pkt_type);
int iSetNVME_INPUT_STATUS_nvme_input_idle(unsigned int unvme_input_idle);
int iSetNVME_OUTPUT_STATUS_nvme_int_output_cnt(unsigned int unvme_int_output_cnt);
int iSetNVME_OUTPUT_STATUS_nvme_data_output_cnt(unsigned int unvme_data_output_cnt);
int iSetNVME_OUTPUT_STATUS_nvme_output_pkt_type(unsigned int unvme_output_pkt_type);
int iSetNVME_OUTPUT_STATUS_nvme_output_idle(unsigned int unvme_output_idle);
int iSetFSM_STATUS_curr_coal_tbl_state(unsigned int ucurr_coal_tbl_state);
int iSetFSM_STATUS_curr_host_state(unsigned int ucurr_host_state);
int iSetLINK_DOWN_IDLE_STATUS_port_idle(unsigned int uport_idle);
int iSetECC_ERR_INT_SRC_STS_coal_tbl_ecc_err_2bit(unsigned int ucoal_tbl_ecc_err_2bit);
int iSetECC_ERR_INT_SRC_STS_coal_tbl_ecc_err_1bit(unsigned int ucoal_tbl_ecc_err_1bit);
int iSetECC_ERR_INT_SRC_STS_msix_tbl_ecc_err_2bit(unsigned int umsix_tbl_ecc_err_2bit);
int iSetECC_ERR_INT_SRC_STS_msix_tbl_ecc_err_1bit(unsigned int umsix_tbl_ecc_err_1bit);
int iSetECC_ERR_MASK_coal_tbl_ecc_err_2bit_mask(unsigned int ucoal_tbl_ecc_err_2bit_mask);
int iSetECC_ERR_MASK_coal_tbl_ecc_err_1bit_mask(unsigned int ucoal_tbl_ecc_err_1bit_mask);
int iSetECC_ERR_MASK_msix_tbl_ecc_err_2bit_mask(unsigned int umsix_tbl_ecc_err_2bit_mask);
int iSetECC_ERR_MASK_msix_tbl_ecc_err_1bit_mask(unsigned int umsix_tbl_ecc_err_1bit_mask);
int iSetECC_ERR_INT_STS_coal_tbl_ecc_err_2bit_sts(unsigned int ucoal_tbl_ecc_err_2bit_sts);
int iSetECC_ERR_INT_STS_coal_tbl_ecc_err_1bit_sts(unsigned int ucoal_tbl_ecc_err_1bit_sts);
int iSetECC_ERR_INT_STS_msix_tbl_ecc_err_2bit_sts(unsigned int umsix_tbl_ecc_err_2bit_sts);
int iSetECC_ERR_INT_STS_msix_tbl_ecc_err_1bit_sts(unsigned int umsix_tbl_ecc_err_1bit_sts);
int iSetECC_ERR_INJECT_coal_tbl_ecc_err_inject(unsigned int ucoal_tbl_ecc_err_inject);
int iSetECC_ERR_INJECT_msix_tbl_ecc_err_inject(unsigned int umsix_tbl_ecc_err_inject);
int iSetNET_ECAM_BUS_NUM_net_th_enable(unsigned int unet_th_enable);
int iSetNET_ECAM_BUS_NUM_net_ecam_bus_num(unsigned int unet_ecam_bus_num);
int iSetNET_PF_NUM_net_2nd_pf_num(unsigned int unet_2nd_pf_num);
int iSetNET_PF_NUM_net_1st_pf_num(unsigned int unet_1st_pf_num);
int iSetNET_FIRST_VF_NUM_net_pf1_vf_first_num(unsigned int unet_pf1_vf_first_num);
int iSetNET_FIRST_VF_NUM_net_pf0_vf_first_num(unsigned int unet_pf0_vf_first_num);
int iSetNET_VF_STRIDE_net_pf1_vf_stride(unsigned int unet_pf1_vf_stride);
int iSetNET_VF_STRIDE_net_pf0_vf_stride(unsigned int unet_pf0_vf_stride);
int iSetNET_ECAM_BASE_net_ecam_base(unsigned int unet_ecam_base);
int iSetERR_RESPONSE_port_idle(unsigned int uport_idle);
int iSetERR_RESPONSE_clr_err_resp(unsigned int uclr_err_resp);
int iSetERR_RESPONSE_err_resp(unsigned int uerr_resp);

#endif // __HIPCIEC_AP_INT_REG_C_UNION_DEFINE_H__
